set(target lzm_mlog)

message(STATUS "lzm mlog")

add_library(${target} STATIC)
target_link_libraries(${target} PUBLIC ${LZM_COMPONENT_LOG_PORT_LIBS})

# log
target_include_directories(${target} PUBLIC ./inc
                                            ../../../include)
target_include_directories(${target} PUBLIC ${LZM_COMPONENT_LOG_PORT_INC})

set(src_mlog
        ./src/lzm_mlog.c
        ${LZM_COMPONENT_LOG_PORT_SRC}
)

target_sources(${target} PRIVATE
    ${src_mlog}
)